export default {
  required: {
    validate: ({ value }) => !!(value && value.length)
  }
};